package com.sanpu.kxe.business.member.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.member.bean.MemberPayTypeOutput;

import java.util.List;

/**
 * Description：新版会员充值支付页
 * Created by 薛勇军 on 2019/3/19.
 */

public interface MemberCashierContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示列表
         */
        void showDataListView(List<MemberPayTypeOutput> payTypeOutputs);

        /**
         * 弹出密码框
         */
        void onShowPasswordPopup();
    }

    interface Presenter extends IBasePresenter {

        /**
         * 充值会员方式列表
         */
        void upgradeVipTypeList();

        /**
         * 支付
         */
        void onPayClickListener(MemberPayTypeOutput payTypeOutput);

        /**
         * 余额充值会员
         */
        void upgradeWithAmt(String payPassword);
    }
}
